﻿using System;
using CI.WebService;

namespace CI.Mesopotamia.WebService
{

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class InboundClient : System.ServiceModel.ClientBase<IInbound>, IInbound
    {

        public InboundClient()
        {
        }

        public InboundClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public InboundClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public InboundClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public InboundClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public void UploadLogs(byte[] bytes, string logName)
        {
            base.Channel.UploadLogs(bytes, logName);
        }

        public void UploadLogsForUser(byte[] bytes, string logName, int userId)
        {
            base.Channel.UploadLogsForUser(bytes, logName, userId);
        }

        public string GetPreferredScenario(string hostVersion, int userId)
        {
            return base.Channel.GetPreferredScenario(hostVersion, userId);
        }

        public int GetNewUserId(string machineName, string hostVersion)
        {
            return base.Channel.GetNewUserId(machineName, hostVersion);
        }

        public string[] GetScenarioList(string hostVersion, int userId)
        {
            return base.Channel.GetScenarioList(hostVersion, userId);
        }

        public CI.Mesopotamia.Scenario LoadScenario(string scenarioName, int userId)
        {
            return base.Channel.LoadScenario(scenarioName, userId);
        }

        public CI.DAL.DALList LoadDal(string scenarioName, int userId, int organismCount, Guid[] organismsToLoad)
        {
            return base.Channel.LoadDal(scenarioName, userId, organismCount, organismsToLoad);
        }

        public int SaveDal(string scenarioName, CI.DAL.DALList organisms, int UserID)
        {
            return base.Channel.SaveDal(scenarioName, organisms, UserID);
        }

        public bool DeleteScenario(string scenarioName, int UserID)
        {
            return base.Channel.DeleteScenario(scenarioName, UserID);
        }

        public int SaveScenario(CI.Mesopotamia.Scenario scenario, int UserID)
        {
            return base.Channel.SaveScenario(scenario, UserID);
        }

        public int DiagGetUsersDbCount(int UserID)
        {
            return base.Channel.DiagGetUsersDbCount(UserID);
        }

        public int Increment(int number)
        {
            return base.Channel.Increment(number);
        }

        public ScenarioOrganismCollection GetScenarioOrganisms(string scenarioName, int startIndex, int endIndex)
        {
            return base.Channel.GetScenarioOrganisms(scenarioName, startIndex, endIndex);
        }
    }
}


